﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="adult.aspx.cs" Inherits="kim.Web.adult" %>
<%@ Register Src="UsersControls/top.ascx" TagName="top" TagPrefix="top" %>
<%@ Register Src="UsersControls/footer.ascx" TagName="footer" TagPrefix="footer" %>
<%@ Register Src="UsersControls/left.ascx" TagName="left" TagPrefix="left" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <%=ViewState["title"] %></title>
    <meta name="keywords" content="<%=ViewState["key"] %>" />
    <meta name="description" content="<%=ViewState["desc"] %>" />
<link href="style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="script/jquery.cenvol.js"></script>
<script type="text/javascript" src="script/kxbdSuperMarquee.js"></script>
<script type="text/javascript" src="script/main.js"></script>
</head>
<body>
 <top:top ID="top1" runat="server" />
<div class="breadcrumb">
	<div class="mid">您当前的位置：<a href="index.aspx" title="首页">首页</a>&gt;<a href="#" title="自考">成人教育</a></div>
</div>
<div class="mainBox">
    <div class="newsCon" id="newsTab">
    	<div class="tit">
        	<h1>成人教育</h1>
            <div class="tab">
                 <asp:Repeater ID="topMenu" runat="server">
                    <ItemTemplate>
                     <a  href="javascript:;" typeid="<%#Eval("ID") %>"><%#Eval("ClassName")%></a>
                    </ItemTemplate>
                    </asp:Repeater>
            </div>
        </div>
        <dl class="clearfix" id="MenuCon"></dl>
        
    </div>
    <%=htmltext[0] %>
    <div class="layout educationCon">
    	<h2 class="layoutTit">远程教育</h2>
    	<div class="layoutSmall f_l guideCon titTop">
        	<h3 class="tit">报考指南</h3>
            <ul>
             <asp:Repeater ID="rptbmzn" runat="server">
                    <ItemTemplate>
            	 <li><a href="newsDetails.aspx?id=<%#Eval("id") %>" title="<%#Eval("Name") %>">
                                <%#Eval("Name") %></a></li>
            	  </ItemTemplate>
                    </asp:Repeater>
            </ul>
        </div>
        <div class="layoutBig f_r schoolCon">
        	<h3 class="conceal">学校展示</h3>
            <dl class="clearfix" id="xx">
            	<dt>
                    <div class="view-wrap" id="schoolGdd">
                    <ul>
                        <asp:Repeater ID="rptXxzs" runat="server">
                                    <ItemTemplate>
                                        <li><a href="javascript:;" title="<%#Eval("Name") %>"  iid="<%#Eval("id") %>"  >
                                            <img src="<%#Eval("pic") %>" alt="<%#Eval("Name") %>" /></a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                    </ul>
                    </div>
                    <a href="javascript:;" class="schoolGdBack" id="schoolGddBack" title="后退">back</a>
                    <a href="javascript:;" class="schoolGdNext" id="schoolGddNext" title="前进">next</a>
                </dt>
               
                            <dd>
                                <div class="synopsis">
                                   
                                </div>
                                <div class="specialty">
                                    <h4 class="tit">
                                        优势专业</h4>
                                  <div id="zy"></div>
                                </div>
                            </dd>
                     
            </dl>
        </div>
        <script type="text/javascript">
            $(function () {
                $("#schoolGdd li a").click(function () {
                    var nid = $(this).attr("iid");
                    var _ajaxUrl = "tools/ajax.aspx";
                    $.ajax({
                        url: _ajaxUrl, type: "get",
                        dataType: "json",
                        data: "action=getschool&nid=" + nid + "&t=" + new Date(),
                        success: function (d) {
                            if (d.RScode == 0) { $(".synopsis").html("<p>暂无记录！</p>"); return; }

                            else {
                                var items = d.RSitem; var temp = "";
                                temp = "<a href=\"newsDetails.aspx?id=" + d._nid + "&fid=4\" class=\"synopsisImg\" title=\"" + d._title + "\"><img src=\"" + d._pic + "\" /></a>";
                                temp += "  <h4><a href=\"newsDetails.aspx?id=" + d._nid + "&fid=4\" class=\"synopsisTit\" title=\"" + d._title + "\">" + d._title + "</a></h4>";
                                temp += "<p>" + d._jj + "</p>";
                                temp += " <a href=\"newsDetails.aspx?id=" + d._nid + "&fid=4\" class=\"more\" title=\"查看详情>>\">查看详情&gt;&gt;</a>";
                                $(".synopsis").html(temp);
                                var temps = "";
                                if (d._Rzy == 0) { $("#zy").html("<p>暂无记录!</p>"); return; }
                                else {

                                    temps = "  <div class=\"specialtyTop\">";
                                    temps += " <a href=\"newsDetails.aspx?id=" + items[0]._i + "&fid=4\" class=\"specialtyImg\" title=\"" + items[0]._t + "\"><img src=\"" + items[0]._pic + "\" /></a>";
                                    temps += "<h5><a href=\"newsDetails.aspx?id=" + items[0]._i + "&fid=4\" class=\"specialtyTit\" title=\"" + items[0]._t + "\">" + items[0]._t + "</a></h5>";
                                    temps += "<p>" + items[0]._con + "</p></div>";
                                    temps += "<ul class=\"specialtyList clearfix\">";
                                    for (var i = 0; i < items.length; i++) {
                                        temps += "  <li><a href=\"newsDetails.aspx?id=" + items[i]._i + "&fid=4\" title=\"" + items[i]._t + "\">" + items[i]._t + "</a></li>";
                                    }
                                    temps += "</ul>";
                                    temps += " <a href=\"professional.aspx?nid=" + d._nid + "&fid=4\" class=\"more\" title=\"参看所有专业>>\">参看所有专业&gt;&gt;</a>";
                                    $("#zy").html(temps);
                                }
                               
                            }
                        }
                    })
                });
                $("#schoolGdd li a:eq(0)").click();
            })
            </script>
    </div>
     <%=htmltext[1] %>
    <a href="#" class="mainBanner" title="自考流程图"><img src="image/banner5.jpg" /></a>
    <div class="layout aboutCon">
    	<h2 class="layoutTit">关于我们</h2>
    	<div class="layoutSmall f_l titTop">
        	<div class="tit"><h3>常见问题</h3><a href="news.aspx?typeid=1&fid=1" title="更多">more&gt;&gt;</a></div>
            <ul>
                <asp:Repeater ID="rptCjwt" runat="server">
                        <ItemTemplate>
                            <li><a href="newsDetails.aspx?id=<%#Eval("id") %>" title="<%#Eval("Name") %>">
                                <%#Eval("Name") %></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
            </ul>
        </div>
        <div class="layoutBig f_r titTop">
        	<div class="tit"><h3>联系我们</h3> <a href="about.aspx?typeid=1&fid=9" title="更多">more&gt;&gt;</a></div>
              <%=kim.UI.BasePage.GetAboutText(2, 9)%>
        </div>
	</div>
    <div class="links">
		<h2>友情链接</h2>
        <div class="content">
    <%=kim.UI.BasePage.GetAboutText(2,0)%>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $("#topConus ul").addClass("clearfix");
        $("#schoolGdd li:eq(0)").addClass("current");
        $("#xx dd ul").addClass("specialtyList clearfix");
    })
    </script>
 <footer:footer ID="footer1" runat="server" />
</body>
</html>
